<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			var a=50,b=20,c=100;
			a>b ? alert("a大"):alert("b大"); 
			var max=a>b?a:b;
			console.log(max);
			max=max>c ? max:c;
			console.log(max);
		</script>
	</head>
	<body>
	</body>
</html>
